How to send tokens using ethers JS?
I'm curious about how one can send tokens using ethers JS. Can you walk me through the process, step-by-step? What are the prerequisites I need to fulfill before attempting this? And how do I ensure that the transaction is secure and goes through smoothly? Are there any common pitfalls or mistakes that I should be aware of? Additionally, what are some best practices when it comes to using ethers JS for sending tokens?
What happens if you send ERC-20 to BEP20?
So, I'm curious, what exactly happens if someone were to accidentally send ERC-20 tokens to a BEP20 wallet address? I know they're both types of tokens that exist on blockchain networks, but I'm not sure how the systems would handle such a mismatch. Would the tokens simply be lost forever? Or is there some way to recover or convert them? I'm hoping you can shed some light on this for me.